<template>
  <el-container class="el-container" >
    <el-header style="height:80px;" >
      <headmenu></headmenu>
    </el-header>
    <el-container class="el-container" >
      <el-aside  class="el-aside" style="width:20%;"><leftnav></leftnav></el-aside>
      <el-main class="el-main" style="width:70%;">
        <router-view></router-view>
      </el-main>
    </el-container>
  </el-container>
</template>





<script>

import leftnav from "@/components/common/leftnav";
import headmenu from "@/components/common/headmenu";

export default {
  name: 'App',
  components:{
    leftnav:leftnav,
    headmenu:headmenu
  }
}
</script>

<style>
.el-header,
.el-footer {
height:300px;
width:100%;
background-color: #b3c0d1;
color: #333;
text-align: center;
}

.el-aside {

  background-color: #d3dce6;
  color: #333;

   height:100%;
}

.el-main {
  background-color: #e9eef3;

}

.el-container {
  height:100%;

}


</style>
